package com.xiguanlezz.cn.api.remote.response;

import com.xiguanlezz.cn.api.naming.pojo.ServiceInfo;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：习惯了种种
 * @CreateDate：2024/11/26 21:03
 * @Description：订阅服务实例响应类
 */
public class SubscribeServiceResponse extends Response {
    // 封装所有服务实例信息
    @Setter
    @Getter
    private ServiceInfo serviceInfo;

    public SubscribeServiceResponse() {
    }

    public SubscribeServiceResponse(int resultCode, String message, ServiceInfo serviceInfo) {
        super();
        setResultCode(resultCode);
        setMessage(message);
        this.serviceInfo = serviceInfo;
    }
}
